add_library(qtOpenCV 
	convert.cpp
	videoRecorder.cpp
)

find_package(OpenCV REQUIRED)
#find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
#find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
target_link_libraries(qtOpenCV
  PUBLIC
    ${OpenCV_LIBS}
    Qt${QT_VERSION_MAJOR}::Widgets
  )
